projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d886f3
)
popover: Don't create transient CSS nodes
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 6 Nov 2015 14:26:25 +0000
(09:26 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 6 Nov 2015 16:50:23 +0000
(11:50 -0500)
There is no need to save the style context here.
gtk/gtkpopover.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpopover.c
b/gtk/gtkpopover.c
index 7050e6803d1d6c71d47ec05aa05467a1716499ae..cce113f6a11ce89bf243ccce827cb3f27352f54b 100644
(file)
--- a/
gtk/gtkpopover.c
+++ b/
gtk/gtkpopover.c
@@
-1063,7
+1063,6
@@
gtk_popover_draw (GtkWidget *widget,
GtkStateFlags state;
context = gtk_widget_get_style_context (widget);
- gtk_style_context_save (context);
state = gtk_widget_get_state_flags (widget);
gtk_widget_get_allocation (widget, &allocation);
@@
-1145,8
+1144,6
@@
G_GNUC_END_IGNORE_DEPRECATIONS
if (child)
gtk_container_propagate_draw (GTK_CONTAINER (widget), child, cr);
- gtk_style_context_restore (context);
-
return TRUE;
}